home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 05d2.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-27  |  1.4 KB  |  57 lines

  1. on startMovie
  2.   global qtChan, gKnobSprite, gSendMovie
  3.   puppetSprite(48, 1)
  4.   gKnobSprite = 14
  5.   gSendMovie = "05d2"
  6.   setUpKnob()
  7.   qtChan = 11
  8.   sprite(qtChan).volume = 256
  9.   preLoad(qtChan - 1)
  10.   set the mouseDownScript to EMPTY
  11.   set the mouseUpScript to EMPTY
  12.   sprite(9).visible = 0
  13.   sprite(10).visible = 0
  14.   sprite(11).visible = 0
  15.   sprite(12).visible = 0
  16. end
  17.  
  18. on idle
  19.   global gCursorReady
  20.   if gCursorReady = 1 then
  21.     cursor(200)
  22.     checkCursors()
  23.     set the locH of sprite 48 to the mouseH
  24.     set the locV of sprite 48 to the mouseV
  25.     updateStage()
  26.   end if
  27. end
  28.  
  29. on checkCursors
  30.   global gMagCursor
  31.   set the castNum of sprite 48 to the number of member "curs1"
  32.   if rollOver(5) then
  33.     set the castNum of sprite 48 to the number of member "hotCursor"
  34.   end if
  35.   if rollOver(6) then
  36.     set the castNum of sprite 48 to the number of member "hotCursor"
  37.   end if
  38.   if rollOver(7) then
  39.     set the castNum of sprite 48 to the number of member "curs1"
  40.   end if
  41.   repeat with i = 15 to 17
  42.     if rollOver(i) then
  43.       set the castNum of sprite 48 to the number of member "hotCursor"
  44.     end if
  45.   end repeat
  46.   repeat with i = 30 to 31
  47.     if rollOver(i) then
  48.       set the castNum of sprite 48 to the number of member "hotCursor"
  49.     end if
  50.   end repeat
  51.   repeat with i = 40 to 42
  52.     if rollOver(i) then
  53.       set the castNum of sprite 48 to the number of member "hotCursor"
  54.     end if
  55.   end repeat
  56. end
  57.